﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <link rel="shortcut icon" href="/cwp/favicon.ico" type="image/x-icon" />
    <title>首航节能-智慧园区</title>
    <!--引入CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/list.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/table.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/tabs.css"/>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/paging.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/btn.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/taqs.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/step.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/css/styles/components-css/form.css"/>
    <!--引入bootstrap CSS文件-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrapModel.css" />
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-3.3.5-dist/css/bootstrap-theme.min.css"/>
    <!--日历控件样式-->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css"/>
    <!--表单验证样式--->
    <link rel="stylesheet" type="text/css" href="../../../assets/lib/formValidator/style/validator.css"/>

</head>
<body>

<!--头部文件 开始-->
<div id="header"></div>
<!--头部文件 结束-->
<div class="wrapper">
    <!--左侧菜单 开始-->
    <div id="left-menu"></div>
    <!--左侧菜单 结束-->

    <!--右侧内容 开始-->
    <div class="right-container">
        <div class="right-scroll">
            <div class="t-list">
                <div class="t-list-title">
                    <h2>首页 > 故障告警</h2>
                </div>

                <div class="t-tabs">
                    <ul id="myTabs" class="t-tabs-items">
                        <li class="active"><a href="#tab1" data-toggle="tab">未处理</a></li>
                        <li><a href="#tab1" data-toggle="tab">处理中</a></li>
                        <li><a href="#tab1" data-toggle="tab">已处理</a></li>
                    </ul>
                    <div id="myTabContent" class="tab-content">
                        <div class="tab-pane fade in active" id="tab1">
                            <!--安防告警列表-->
                            <div class="t-list-search t-columns-3">
                                <form id="frmSearch">
                                    <ul class="t-columns-group">
                                        <li>
                                            <label>设备类别</label>
                                            <div>
                                                <select id="diName">
                                                    <option>--请选择--</option>
                                                    <option>视频监控</option>
                                                    <option>照明设备</option>
                                                    <option>空调机组</option>
                                                    <option>送排风机</option>
                                                    <option>集水坑</option>
                                                    <option>门禁</option>
                                                    <option>能耗管理</option>
                                                    <option>RFID监控</option>
                                                </select>
                                            </div>


                                        </li>
                                        <li class="timegroup">
                                            <label>起止日期</label>
                                            <div>
                                                <div>
                                                    <input class="form_date_start bg-date" value="" placeholder="开始时间" readonly id="startApplyTime"/>
                                                </div>
                                                <span>~</span>
                                                <div>
                                                    <input class="form_date_end bg-date" value="" placeholder="结束时间" readonly id="endApplyTime"/>
                                                </div>
                                            </div>
                                        </li>
                                        <!-- 时间组 -->
                                        <li>
                                            <label>&nbsp;</label>
                                            <div>
                                                <a class="t-btn" id="btnSearchFaultAlarm">
                                                    <i class="icon-search"></i>
                                                    查询
                                                </a>
                                            </div>
                                        </li>
                                    </ul>
                                </form>
                            </div>
                            <div class="t-list-btns">
                                <p>请求记录</p>
                                <span id="faultAlarmTabTotal"></span>
                                <div>
                                    <a class="t-btn t-btn-blue" id="btnMaintenanceNew" >新增</a>
                                </div>
                            </div>

                            <div class="t-list-result clearfix">
                                <!-- 表格 -->
                                <table class="t-table" id="faultAlarmTab"></table>
                                <!-- 分页 -->
                                <div class="pagination" id="faultAlarmTabPagination"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--版权-->
<div id="copyright"></div>
<!--新建-->
<div class="modal fade" id="modalMaintenanceNew" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

                <h4 class="modal-title" >新增故障告警</h4>
            </div>
            <form id="frmMain">
                <div class="modal-body">
                    <div class="t-columns-1">
                        <!-- 检索字段 -->
                        <ul class="t-columns-group">
                            <li>
                                <label><span class="t-tip-verification">*</span>设备类别</label>
                                <div>
                                    <select id="addWaringType" name="warningType">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="addWaringTypeTip"></div></div>
                            </li>
                            <li>
                                <label><span class="t-tip-verification">*</span>告警级别</label>
                                <div>
                                    <div class="t-stars" >
                                        <select  name="warningLevel" id="addLevel">
                                            <option value="" selected>请选择</option>
                                            <option value="0">低</option>
                                            <option value="1">中</option>
                                            <option value="2">高</option>
                                            <option value="3">紧急</option>
                                        </select>
                                    </div>
                                </div>
                            </li>
                            <li class="verify">
                                <label></label>
                                <div class="tipArea"><div id="addLevelTip"></div></div>
                            </li>
                            <li class="buildingNoLi hide">
                                <label><span class="t-tip-verification">*</span>栋</label>
                                <div>
                                    <select id="buildingNo">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </li>
                            <li class="buildingNoLi hide verify">
                                <label></label>
                                <div class="tipArea"><div id="buildingNoTip"></div></div>
                            </li>
                            <li class="buildingChildLi hide">
                                <label class="necessary">层</label>
                                <div>
                                    <select id="buildingChild">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </li>
                            <li class="buildingChildLi hide verify">
                                <label></label>
                                <div class="tipArea"><div id="buildingChildTip"></div></div>
                            </li>
                            <li class="buildingRoomLi hide">
                                <label>房间</label>
                                <div>
                                    <select id="buildingRoom">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </li>
                            <li class="devicesLi hide">
                                <label class="necessary">选择设备</label>
                                <div>
                                    <select id="devices" name="deviceId">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </li>
                            <li class="devicesLi hide verify">
                                <label></label>
                                <div class="tipArea"><div id="devicesTip"></div></div>
                            </li>
                            <li class="width-all">
                                <label><span class="t-tip-verification">*</span>故障描述</label>
                                <div>
                                    <textarea id="addDetailDesc" name="eventDescribe"></textarea>
                                </div>
                            </li>
                            <li class="verify-width-all">
                                <label></label>
                                <div class="tipArea"><div id="addDetailDescTip"></div></div>
                            </li>

                            <!-- 时间组 -->
                        </ul>
                    </div>
                </div>


                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="saveWarningEvent()">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>

<!--详情模态框页面-->
<div class="modal fade" id="modalDetailsAlarm" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="exampleModalLabel">故障告警详情</h4>
            </div>
            <div class="modal-body">
                <!--告警基本信息-->
                <div class="t-columns-2">
                    <ul class="t-columns-group">
                        <li>
                            <label>设备类别：</label>
                            <div id="deviceType"></div>
                        </li>
                        <li>
                            <label>告警级别：</label>
                            <div id="messageLevel"></div>
                        </li>
                        <li>
                            <label>告警编号：</label>
                            <div id="alarmNumber"></div>
                        </li>
                        <li>
                            <label>处理状态：</label>
                            <div>
                                <div><i class="t-tag-del" id="deviceState"></i></div>
                            </div>
                        </li>
                        <li class="width-all" style="padding: 0;">
                            <label>告警位置：</label>
                            <div id="devicePostion"></div>
                        </li>
                        <li class="width-all" style="padding: 0;">
                            <label>告警描述：</label>
                            <div id="warningDescribe"></div>
                        </li>
                        <li class="width-all" style="padding: 0;">
                            <label>处理报告：</label>
                            <div id="handleOpinion">未完成</div>
                        </li>
                    </ul>
                </div>
                <!--告警责任人信息-->
                <div class="responsibe clearfix">
                    <div class="fl clearfix">
                        <div class="fl responsibe-photo icon-user2"></div>
                        <div class="fl responsibe-info">
                            <div class="responsibe-name">暂无记录</div>
                            <div class="responsibe-role">暂无记录</div>
                            <!--<div class="company-info">-->
                            <!--<span>公司负责人：刘强东</span>-->
                            <!--<span>负责人电话：15527751423</span>-->
                            <!--<br/>-->
                            <!--<span>所属公司：维修公司</span>-->
                            <!--<span>公司地址：郑州高新区科学大道</span>-->
                            <!--</div>-->
                        </div>
                    </div>
                    <div class="fr responsibe-phone">
                        <i class="icon-phone"></i>
                        <span>无</span>
                    </div>
                    <!--<span id="responsibe-phone" class="fr">15527751423</span>-->
                    <!--<a tabindex="0" class="btn btn-lg btn-danger" role="button" data-toggle="popover" data-trigger="focus" title="Dismissible popover" data-content="And here's some amazing content. It's very engaging. Right?">可消失的弹出框</a>-->
                </div>

                <!--告警流程信息-->
                <div class="line1">
                    <div class="line">
                        <span class="end conp"></span>
                    </div>
                    <div class="clearfix mb10">
                        <span class="com_squ "></span>
                        <div class="bubble fr ">
                            <dl class="com_dt">
                                <dt class="clearfix">
                                    通知
                                    <span class="fr comFont_color" id="noticeTime">2016-07-12 13:03:39</span>
                                </dt>
                                <dd class="comFont_color" id="noticeName">
                                    <!--设备管理员-->
                                    <!--<br/>-->
                                    <!--维修人员-->
                                    暂无记录
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <div class="clearfix mb10">
                        <span class="com_squ conp"></span>
                        <div class="bubble fr comp">
                            <dl class="com_dt">
                                <dt class="clearfix">
                                    接单
                                    <span class="fr comFont_color" id="responseTime"></span>
                                </dt>
                                <dd class="comFont_color" id="responseName">
                                    暂无记录
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <div class="clearfix mb10">
                        <span class="com_squ conp"></span>
                        <div class="bubble fr comp">
                            <dl class="com_dt">
                                <dt class="clearfix">
                                    处理
                                    <span class="fr comFont_color" id="handlerTime"></span>
                                </dt>
                                <dd class="comFont_color" id="handlerName">
                                    暂无记录
                                </dd>
                            </dl>
                        </div>
                    </div>
                    <div class="clearfix mb10">
                        <span class="com_squ conp"></span>
                        <div class="bubble fr comp">
                            <dl class="com_dt">
                                <dt class="clearfix">
                                    <span id="completeResultStaus">未完成</span>
                                    <span class="fr comFont_color" id="completeTime"></span>
                                </dt>
                                <dd class="comFont_color" id="completeResult">
                                    暂无记录
                                </dd>
                            </dl>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!--提示模态框-->
<div class="modal fade bs-example-modal-sm" id="myTip" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-body" style="text-align:center;font-size:14px;">
                <i id="icon-tip" style="margin-right:6px;"></i>
                <span class="tip-info"></span>
            </div>
        </div>
    </div>
</div>
<!--jQuery库脚本-->
<!--非IE8浏览器-->
<!--[if !(IE 8)]><!--><script type="text/javascript" src="../../../assets/lib/jquery/jquery.min.js"></script><!--<![endif]-->
<!--IE8浏览器-->
<!--[if IE 8]><script type="text/javascript" src="../../../assets/lib/jquery/jquery-ie8.min.js"></script><![endif]-->
<script type="text/javascript" src="../../../assets/lib/jQuery-slimScroll-1.3.8/jquery.slimscroll.min.js"></script>
<script charset="utf-8" src="../../../assets/common/loadHeaderAndCopyright.js"></script>
<script charset="utf-8" src="../../../assets/lib/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
<!--表单验证-->
<script charset="utf-8" src="../../../assets/lib/formValidator/formValidator.js"></script>
<script charset="utf-8" src="../../../assets/lib/formValidator/formValidatorRegex.js"></script>
<!--bootsrtap日历控件脚本-->
<script charset="utf-8" src="../../../assets/lib/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
<script charset="utf-8" src="../../../assets/lib/bootstrap-datetimepicker-master/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script charset="utf-8" src="../../../assets/lib/bootstrap-datetimepicker-master/js/initDatetimepicker.js"></script>
<!--分页脚本-->
<script charset="utf-8" src="../../../assets/lib/pagination/1.2.1/jquery.pagination.js"></script>
<script charset="utf-8" src="../../../assets/common/loaderTable.js"></script>
<script charset="utf-8" src="../../../assets/common/ajaxPoster.js"></script>
<script charset="utf-8" src="../../../assets/common/centerModal.js"></script>
<script charset="utf-8" src="../../../assets/lib/tipModal/js/tipModal.js"></script>
<script charset="utf-8" src="../../../js/monitorDevices/alarmManagement/warningEventCommon.js"></script>
<!--启用模态框脚本-->
<script charset="utf-8" src="../../../js/monitorDevices/alarmManagement/alarmDealModal.js"></script>

</body>
</html>